package com.appcenter.message.model;

import io.swagger.annotations.ApiModelProperty;
import tk.mybatis.mapper.annotation.NameStyle;
import tk.mybatis.mapper.code.Style;

import javax.persistence.Entity;
import javax.persistence.Table;

@NameStyle(Style.normal)
@Table(name="dingconfigs")
@Entity
public class DingConfigs {
    @ApiModelProperty("主键")
    @javax.persistence.Id
    private String id;
    public String getId(){return this.id;}
    public void setId(String id){this.id=id;}


    @ApiModelProperty("获取Token的URL地址")
    private String tokenUrl;
    public String getTokenUrl(){return this.tokenUrl;}
    public void setTokenUrl(String tokenUrl){this.tokenUrl=tokenUrl;}

    @ApiModelProperty("agentId")
    private Long agentId;
    public Long getAgentId(){return this.agentId;}
    public void setAgentId(Long agentId){this.agentId=agentId;}

    @ApiModelProperty("发送消息的URL地址")
    private String postDingNoticeUrl;
    public String getPostDingNoticeUrl(){return this.postDingNoticeUrl;}
    public void setPostDingNoticeUrl(String postDingNoticeUrl){this.postDingNoticeUrl=postDingNoticeUrl;}

    @ApiModelProperty("样式")
    private String oaHeadBgColor;
    public String getOAHeadBgColor(){return this.oaHeadBgColor;}
    public void setOAHeadBgColor(String oaHeadBgColor){this.oaHeadBgColor=oaHeadBgColor;}

    @ApiModelProperty("应用编码")
    private String appCode;
    public String getAppCode(){return this.appCode;}
    public void setAppCode(String appCode){this.appCode=appCode;}
}
